# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=tree-sitter-embedded-template
pkgver=0.20.0
pkgrel=1
pkgdesc="Tree-sitter grammar for embedded template languages like ERB, EJS"
url="https://github.com/tree-sitter/tree-sitter-embedded-template"
arch="all"
license="MIT"
makedepends="tree-sitter-dev"
install_if="tree-sitter-grammars"
source="https://github.com/tree-sitter/tree-sitter-embedded-template/archive/v$pkgver/tree-sitter-embedded-template-$pkgver.tar.gz"
options="!check"  # no tests for shared lib

build() {
	abuild-tree-sitter build
}
package() {
	DESTDIR="$pkgdir" abuild-tree-sitter install
}

sha512sums="
1c4a63f85fae1ebb9fa90674a4c27d4402ae0957268faa08dd77c5ec6103720c80befd009d04090a80d994377676b103e2efcc25bd291186efc0c1f4962be086  tree-sitter-embedded-template-0.20.0.tar.gz
"
